Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose multiplatfrom migration #101

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

sagar-viradiya
Copy link

Migrate from Android Compose to JetBrains Compose multiplatform. Followig changes are made to prepare library for Compose multiplatform.

  • Add support for iOS platform
  • Implement expect / actual ScreenWidth.kt for getting screen width.
  • Replace all occurrences of TextPaint to draw text with drawText accepting TextMeasurer
  • Utils text measurer measurement to calculate text bounds
  • Move all classes commonMain modules
  • Update build files to add support for multiplatform
  • Update compose runtime and compiler to latest version
  • Update compile SDK from 33 to 34
  • Remove unnecessary dependencies

- Update compose runtime and compiler to latest version
- Update compile SDK from 33 to 34
- Remove unnecessary dependencies
- Update kotlin datetime from 0.4.0 to 0.5.0
- Add support for iOS platform
- Implement expect / actual ScreenWidth.kt for getting screen width.
- Replace all occurrences of TextPaint to draw text with drawText accepting TextMeasurer
- Utils text measurer measurement to calculate text bounds
- Move all classes commonMain modules
- Update build files to add support for multiplatform
@hi-manshu
Copy link
Owner

@sagar-viradiya please have a look

- Change the repository mode from FAIL_ON_PROJECT_REPOS to PREFER_PROJECT
@sagar-viradiya
Copy link
Author

@sagar-viradiya please have a look

@hi-manshu Please re-run the lint checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants